package ua.kratik.seabattle.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import ua.kratik.seabattle.dao.DataObject;

@Entity
@Table (name = "shotResults")
public class ShotResult implements DataObject {
	
	@Id
	@Column(name = "id")
	private Integer id;
	
	@Column (name = "result")
	private String result;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
}
